docs: protected int getCurrentSelection() {
          if (mCurrentProfile != null && mProfiles != null) {
              int i = 0;
              for (IProfile profile : mProfiles) {
                  if (profile == mCurrentProfile) {
                      return i;
                  }
                  i++;
              }
          }
          return -1;
      }