/// <summary>
 /// Method that changes the password of the account and writes the account list to the file
 /// </summary>
 public void ChangePassword()
 {
     AccountHandler.Account.PassWord = EnteredConfirmPassword;
     AccountHandler.ChangeUserPassword(EnteredConfirmPassword);
     AccountHandler.AccountList.AddAccountToFile();
     IsConfirmButtonEnabled = false;
 }