Adds transaction listener