The second click on a outline button collapses the tree and sets the
selection to the initial state.

Change-Id: I548fcea0412517b91f7c9c22024c0b938cd38db4