Replace the static reference to the class Category in CategoryDetailView to the respective instance (same name, but not capitalized).
Category
CategoryDetailView