Save workspace in preference store.