Fixing bug that prevented an update in the S3 dialog when changing secret key