Refactor categorieView