private boolean setSelectedButtonIndex(@Nullable Integer index) {
      if (Objects.compare(index, selectedButtonIndex, Comparator.nullsFirst(Integer::compare)) == 0) return false;

      selectedButtonIndex = index;
      return true;
    }
private boolean setSelectedButtonIndex(@Nullable Integer index)