Add option for autosave workspace on switch

Fix #78