Changed the directory display
Reset text for typing