Add event that the button change the color after rotating