code: @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          // If this callback does not handle the item click, onPerformDefaultAction
          // of the ActionProvider is invoked. Hence, the provider encapsulates the
          // complete functionality of the menu item.
          Toast.makeText(this, "Handling in onOptionsItemSelected avoided",
                  Toast.LENGTH_SHORT).show();
          return false;
      }
docs: {@inheritDoc}