refactored css buttons