Bluetooth command does not stop change a sequence in progress

I am wanting to have the ability to change a sequence in progress to another sequence but cannot do this over bluetooth. I have to wait till the entire loop is finished until i can enter in a new command, an analog command can interrupt and change a sequence without an issue, it is only an issue over bluetooth.

FD84EOLIGJOS8D7.ino (7.26 KB)

As far as I can see the code you posted does nothing but read from Bluetooth.

Did you post the right program ?

When you input a command like "r" in a bluetooth app it will change the color to red like it should, the problem is when you select "m" which is mix, it will cycle through different colors in a loop, once you start this loop however you are unable to change to a different color with the bluetooth app until you restart the arduino or send an analog command. Wondering if there is a way that the bluetooth commands can change a sequence once one is in progress.