code: protected final boolean callbackOptionsItemSelected(MenuItem item) {
          if (DEBUG) Log.d(TAG, "[callbackOptionsItemSelected] item: " + item.getTitleCondensed());
  
          boolean result = false;
          if (mActivity instanceof OnMenuItemSelectedListener) {
              OnMenuItemSelectedListener listener = (OnMenuItemSelectedListener)mActivity;
              result = listener.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item);
          } else if (mActivity instanceof OnOptionsItemSelectedListener) {
              OnOptionsItemSelectedListener listener = (OnOptionsItemSelectedListener)mActivity;
              result = listener.onOptionsItemSelected(item);
          }
  
          if (DEBUG) Log.d(TAG, "[callbackOptionsItemSelected] returning " + result);
          return result;
      }
docs: Internal method for dispatching options menu selection to the owning
  activity callback.
  
  @param item Selected options menu item.
  @return {@code true} if the item selection was handled in the callback.