changed addRecordClickListener to use named callbacks to ensure callback do not get called repeatedly edina/fieldtrip-spatial-memories#5