Add autocorrect switch attribute