Added setLanguage() method that allows changing the spell checker language at runtime.
Transfer spell checker language state