Move menu_flush_stack_type to menu_list.c and rename it
menu_list_flush_stack