saving correct category
adding category to table