Added functionality to preselect the last-viewed project in the project selector