refactoring buttons and items