added changeButtonColor() function