now NSFetchedResultsController is used to fetch the categories.