Update handler of 'click' event on node tree.