modified the structure of legend manager by including isActive and items description string as a property of the items itself. added confirmation diallogues for the removal button.