Use supportInvalidateOptionsMenu to fix crash on api<11 devices.