In the original code, wouldn't btn0 be executed after btn4?
b1 would initially be 0, incremented to 1, btn1 would be "branched" to, b1 incremented, then btn2, btn3, btn4. As b1 is next incremented it would be greater than 4 so reset to 0 and btn0 "branched" to. The sequence would then repeat...