tristate of treenode selection is working