@Override
  public void setPreferredCloseTaskState(@Nullable CustomTaskState state) {
    myPreferredCloseTaskState = state;
  }
@Override
  public void setPreferredCloseTaskState(@Nullable CustomTaskState state)