adds color changes to buttons