Adding Template Selector to TreeView.