Fixed the path not found exception when typing a wrong path in the Preferences pane.