implementing favourites in category class