Deleting categories and moods removes corresponding items in triggers