Clear out UI setting on close of UI.

Fixed bug of selected project not showing as selected.