add classes to buttons