Fixing bug in the saving of new options in autocomplete boxes