Refactor/rename menu_action.c functions