Added onGainFocus(); fixed an issue related to focusing, and selecting a tree node