fixed clicking in the GUI, adding ledger