LongPress/ShortPress button two functions

I want to extend this program to using another pair of switch/led with the same functionality in the same program.

Hint

const byte    _2ndLedPin     = 12;
const byte    _2ndSwitchPin  = 3;
byte          _2ndSwitchFlag = 1;
byte          _2ndSwitchPrintFlag = 1;
unsigned long _2ndSwitchStartTime;
unsigned long _2ndSwitchPressTime;
const unsigned long _2ndSwitchInterval = 10000;