raised minSdkVersion: use setMenuVisibility(false) instead of menu.clear()