preserve selections when refreshing content tree