adding a piezo tap reaction (combining two codes with different pins)

Hello. I've found two firefly codes online.

https://github.com/jasonwebb/Jar-of-Fireflies/blob/master/Arduino%20sketch/Jar_of_Fireflies/Jar_of_Fireflies.ino

I want to add the piezo reaction from the second to the first, but the pins are different (schematics attached).

Any help would be greatly appreciated.

fireflies.jpg