implement search in tree view