Learning Arduino_Help_Led_Stream

You are not reading the switch state with the delay()s in your code. Get rid of them. There must be something like 514582548528 bazillion posts on how too not use delay. Mr. Google will help.