add class to buttons