Now text area is cleared properly when selecting a new file from the app menu.