private void SetLangPref(string lang) { string username = DBHandler.GetTempUsername(this); if (username != "Guest" && lang != null && lang != "") { DBHandler.SetLangPref(lang, username); } }