I can't find method checking this. But I think we could clear the project preference wenn the Project being saved it it is deleted, this way also the preferences would be empty and we could set a new Project...