Changed autocorrect functionality