Run `displayData` when the transaction has become complete