Switching colors through the smartphone or the button