categories correctly updated, wrong architecture, model should update itself and notify the view.
refactored model has a method to change the categories and handles it, saves and fires change avent because a modification in the content of an array is not considered as a real change