def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def exitMode(self, mode):
        if mode in self.modeList:
            self.modeList.remove(mode)