Check to see if the project clicked on was the current project before asking if they want to switch to that project
After deleting a project, always make sure that at least one project exists