fix #726 make shared selection persistent