fix crash in Menu.isOptionChecked() if menu item doesn't exist