Fix TreeAdapter to build menu properly
- Allows block definition for shortcuts in Tree
- Binds menu shortcuts automatically