Fixed the issue with Click. Works fine now.
added a 'parent' attribute to each child node to get easy access to the parent node. Will be easy to get courses with the dept. & Concentration