Is my code layout correct?

I guess it would help most of us if your comments were also in English? please?

The loop code looks like a good fit for a switch-case structure.

https://forum.arduino.cc/t/beginners-using-the-switch-case-statement/680177/9