LongPress/ShortPress button two functions

Thanks, I'll try that.

If i wanted to extend this to n buttons and n led's would i just need to keep replicating the two if statement conditions for those buttons and leds similar to the first button/led pair?