public void book(boolean debit) {
        if(selectedAccount!=null){
            BigDecimal amount = journalInputGUI.askAmount(selectedAccount,debit);
            if(amount!=null) {
                journalInputGUI.addBooking(new Booking(selectedAccount, amount, debit));
            }
        }
    }