public void setCustomScope(SearchScope customScope) {
    boolean changed = !Objects.equals(this.customScope, customScope);
    if (changed) {
      this.customScope = customScope;
      notifyObservers();
    }
  }
public void setCustomScope(SearchScope customScope)