@Override
    public boolean equals(Object o) {
      if (o instanceof SettingsGroup other) {
        return name != null && name.equals(other.name);
      } else {
        return false;
      }
    }
@Override
    public boolean equals(Object o)