public async void OnOKClicked() { string nickname = nicknameInputField.text; if (!LCUtils.IsValidString(nickname)) { LCUtils.ShowToast(this, "Please input nickname"); return; } try { LCUser user = await LCUser.GetCurrent(); user.SetNickname(nickname); await user.Save(); SendMessageUpwards("BackToLCMainMenu", SendMessageOptions.RequireReceiver); } catch (LCException e) { LCUtils.LogException(e); LCUtils.ShowToast(this, e); } }