#Since category has just been clicked, the list will be sorted already.
if self._selected_category in self._selected_units:
if self._selected_units[self._selected_category][0]:
#Since category has just been clicked, the list will be sorted already.
if self._selected_category in self._selected_units:
if self._selected_units[self._selected_category][0]: