extract freshCategory method in CategoryView