Add function for adding sub category.