input text preserved when starting input text again
clean up naming