Refactored tree actions and toolbar