Updated saveCategory()
third and final update...