Push button to cycle through modes of an RGB LED strip. Skipping the loop!

What are you trying to do in the

for (int i=0;i<1;)

block? And your comments say something about modulo but I don't see it...

Why not just put an if block for each button press / color you want and cycle back when done?