Start to use new click system in rootToken
Pass ids to rootToken in dependencyTree
Better id handling in rootToken

Fixes broken click handling of rootToken
Refactor clickHandling in depTree

Make the action itself public, so that others (like the rootToken) can
access it.