@Override
    public StateBase clone() {
      try {
        StateBase clone = (StateBase)super.clone();
        clone.mySelectedFileTypes = new TreeSet<>(mySelectedFileTypes);
        return clone;
      }
      catch (CloneNotSupportedException e) {
        throw new AssertionError();
      }
    }
@Override
    public StateBase clone()