ppb_flash_menu: fix malfunctioning submenus