Doesn't update textDisplay if nameField is empty. Text is cleared from nameField after input