@Override
public List<MenuItem> getSubmenu(String key) {
List<MenuItem> topMenu = getTopItems();
for(MenuItem topMenuItem : topMenu) {
if(topMenuItem instanceof Submenu) {
Submenu submenu = (Submenu) topMenuItem;
List<MenuItem> leftMenuCandidate = submenu.getMenuItems();
if(getKey(topMenuItem).equals(key) || findItemByKey(leftMenuCandidate, key) != null) {
return leftMenuCandidate;
}
}
}