commit refactoring menu