Back, Enter, and Cancel Buttons using Arduino Mega

It works! I was trying to connect it like the tutorial and I think that is what confused me. Thank you very much!