When clicking on an element in the tree view the application crashes. Broken from last rework most likely