TDI-31358 : made TOS switch workspace work and persists the last cexecuted workspace