Corrected deleteCategory : checked if the category is not the Public one