Rafactored duplicated effort of redrawing the listboxes of items