select level buttons refactoring