WIP: Refactor resolve all the categories in the collection, before change category.