Fixed bug in setting default language.