@Nullable
  protected String getEnteredName() {
    String text = myNameField.getText();
    if (!text.trim().isEmpty()) {
      return text.trim();
    }
    else {
      return null;
    }
  }
@Nullable
  protected String getEnteredName()