Autocorrection of the Code with an error sound