added active state for tree node