Refactored controller on who to save the new attribute set id. Now we use the collection which loads and save the data more efficiently.