fix menu setVisible not working before onOptionsMenuPrepared for sdk < 11