Refreshing and updating Flex Tree compoinent Some code for updating the Tree component and keeping the opened items and selection if possible.