Added a check that a new category does not have an empty string as a name.