Function createWorkspacePreferences