added the legendmenuwidget