IR blink control

Looking for some guidance and any help is welcome!
The idea is to use one (1) button on my IR remote to make an LED blink, then press that same button to make it stop blinking.

Some friendly advice from another contact and his advice… “You need to establish a new variable detailing the status of the led, whether it’s blinking or not. Then you need two sets of cases, one instructing to blink the LEDs if they aren’t blinking, and another case instructing the LEDs to stop blinking if they are.”

I don’t really know how to go about doing this. I gave it my best, writing what I thought would work, but did not.

#include <IRremote.h>
int RECV_PIN = 11;
int led1 = 5;
int itsONled = {0,0,0,0};
boolean power_state = LOW;
#define POWER 18229463
#define LED_PIN 5
#define MAX_BRIGHT 255
#define SL_BD_RT 9600
#define Blink_Sequence_1 18282503

IRrecv irrecv(RECV_PIN);
byte ledState;
decode_results results;

void setup()
{
Serial.begin(9600);
irrecv.enableIRIn();
pinMode(led1, OUTPUT);
}

void loop() {
if(irrecv.decode(&results)) {
unsigned int value = results.value;
switch(value) {
case POWER:
if(itsONled[1] == 1) { // if the led is on then
digitalWrite(led1, LOW); // turn it off when button is pressed
itsONled[1] = 0; // and set its state as off
} else { // else if first led is off
digitalWrite(led1, HIGH); // turn it on when the button is pressed
itsONled[1] = 1; // and set its state as on
}
break;

//blink
case Blink_Sequence_1:
if(irrecv.decode(&results) == true)
{
digitalWrite(led1,HIGH);
delay(500);
digitalWrite(led1,LOW);
delay(500);
}
break;
}

delay(200);
irrecv.resume(); // Receive the next value
}
}