code: public void onGroupSelected(String id) {
          navGroupId = id;
          updateNavGroups();
          if (onUpdateCommand != null) {
              onUpdateCommand.execute();
          }
      }
docs: View callbacks