Add listener to add history records on teleport