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

Change-Id: Id1b7dd943324c2c014cb2dc10e17123dea97de4c