When user saves preferences it overwrites previous preferences