Long & Short Press Push button on/off with 1 minutes delay

I programmed to press the push button once ( long press ) to turn on the LED in the board and press it again (short press) to turn off.

But i need help,
If i push button (short press or long press) no action taken care by program withing 1 minutes after LED on
same case after LED off.

Code Below

int LED1 = 12;
int LED2 = 13;
int button = 3;

boolean LED1State = false;
boolean LED2State = false;

long buttonTimer = 0;
long longPressTime = 250;

boolean buttonActive = false;
boolean longPressActive = false;

void setup() {

pinMode(LED1, OUTPUT);
pinMode(LED2, OUTPUT);
pinMode(button, INPUT);

}

void loop() {

if (digitalRead(button) == HIGH) {

if (buttonActive == false) {

buttonActive = true;
buttonTimer = millis();

}

if ((millis() - buttonTimer > longPressTime) && (longPressActive == false)) {

longPressActive = true;
LED1State = !LED1State;
digitalWrite(LED1, LED1State);

}

} else {

if (buttonActive == true) {

if (longPressActive == true) {

longPressActive = false;

} else {

LED2State = !LED2State;
digitalWrite(LED2, LED2State);

}

buttonActive = false;

}

}

}

How is your switch wired?

long buttonTimer = 0;
This should be:
unsigned long buttonTimer = 0;

The code for different button presses in this link may be helpful

...R