Change the button color and the type of int.