/// <summary>
 /// Delete the user's account in a background task.
 /// </summary>
 /// <param name="password">the current password of the account.</param>
 /// <returns></returns>
 private OperationReturnMessage DeleteAccount(string password)
 {
     Device.BeginInvokeOnMainThread(() => this.LabelDeleteAccountMessage.Text = "Waiting...");
     return(ServerOperations.DeleteAccount(CredentialManager.Username, password.Trim()));
 }