Refactoring of the Designer of the ListWidget.