added autosave of language detected on first run