Correct adding of ClickListener to DPUTree, correct setting selectedDPU. Closes #839.