Added functionality to restore custom workspace value rather than changing it.