Added code (setColor) in keyPressedUpdate