Problem debouncing multiple buttons

I see what you're asking. I setup the array because I have numerous buttons and I want to separate some of them by function. Like navigation buttons and action buttons. This way I can reference them by the array and not by pins. And in the future If add more buttons I can just make the array larger. Also the array might be later setup to not be in chronological order if I have to switch pins around or add a pin that's not in numerical order.