Creating the menu widget.