@Override
  public @NotNull Element getState() {
    Element element = new Element("state");
    myProperties.writeExternal(element);
    return element;
  }
@Override
  public @NotNull Element getState()