Save every submenu before saving main menu.