model.removeListener(this);
    public void reset()    {        if(model != null)        {            dispatch.categoriesDeselected();             dispatch.groupsDeselected();            groupBar.removeListener(dispatch);            listUI.removeListener(dispatch);            listUI.setModel(null);        }    }