Corrected an error where the current attribute values were being changed to the default values when the user selected the set attributes option