With WorkspaceConfiguration.update(...) you can specify that the setting needs to be written to the ConfigurationTarget.Workspace. This updates the Workspace
ConfigurationTarget.Workspace