How do i get my if to repeat untill another if value is entered.

Thank you all so much for the suggestions. I see what you are saying about the delays but that is not really the issue. I want the pattern to continue even after releasing the button. I dont mind waiting for the pattern to end to switch. And yes the else bits dont make sense i was just testing out and forgot to delete them they do absolutely nothing. Also please keep in mind a am a noob... some of these things yall are saying dont make any sense to me. The reason my code is so long is thats the only way i know to do it. It seems to work fine. If i cannot figure it out in code i will just put a switch instead of the button. Also referring to the person sayng they dont like the ( == ) i haven't had any issues with that. my resistor dropper holds very well. Thanks again yall!