Added getCategoryByID and getCategoryByColor