add class for each button action