Applied addClass to buttons