remove bug with saving selections on switch tabs