Support more assistant levels

This commit fixes the error when tree with more subassistant exists.
Like python->mytest->mytest2->mypython
The GUI should shown the full tree in menu