Change the color in response to a shake