checking if category is selected when validating news