change color when pressing buttons