Push button to switching Led effects

I'm trying do this correctly. Sorry. But on phone is complicated a bit.
So back what I would like to do.
That part of code above I'll try to join with this ..........