avoid unnecessary calls to onBalanceChanged

onTransactionConfidenceChanged in the wallet listener is called once for every transaction for every new block