Added tabs state saving when switching workspace
Added tabs state saving when switching workspace