fixes for remove method of the widget mediator

other fixes were made for the icons, resizable widgets and listeners for
the active menu