Wrapped call to invalidateOptionsMenu so that the app could be backwards compatible with Android 2.3