The mechanic is used to store current workspace name. However, there was a line of code checking if the key "CurrentWorkspace" already has a value. As a result, Preferences class is unable to update the key in case where the workspace is deleted for example.
EmptyPlantSlot page keeps showing up even after adding plant to workspace