You could declare a boolean and set its initial value to true or false. under the button's onclick event, check the boolean with an if/else; for example, if it's true, set the color to black or if it's false, set the color to red. before the exiting the sub, negate the boolean.