Add event for setColor