conditional default menu to prevent search index menus in other apps from loading wrong menu