@FXML
  public void btnSaveOnAction() {
    GuiMain.getWithdrawalsControl()
        .addWithdrawals(
            withdrawals
                .stream()
                .map(
                    with ->
                        new Withdraw(
                            with.getDetails(),
                            with.getValue(),
                            LocalDate.parse(with.getDate()),
                            GuiMain.getAccountControl()
                                .getAccountId(LocalDate.parse(with.getDate()))))
                .collect(Collectors.toList()));

    try {
      GuiMain.getWithdrawalsControl().saveChanges();
    } catch (Exception ex) {
      ex.printStackTrace();
    } finally {
      GuiMain.getAddWithdrawalsWindow().close();
    }
  }