It's a good bot, you posted over 15 lines of text, clearly having forgotten to read #rules 😛
The simplest solution is probably to use a couple of input_select entities, that you select the next one of each time, and use the state of that to set the mode of the light.