Revert "Revert "Editing user prefs when no project exists triggers error""

This reverts commit 06fc79055388d852e4fedf07068e8115ea45747e.