added autosave of selected writing system