buttons styles refactoring