One-line change to save categories to database through manager