Show details when the selection of the tree view is changed.