Change button color when it is pressed.