(Menu) Refactor more code to menu_action.c