Added method to save desktop type treeview to xml file.