2 Switches - Toggle Between Two Functions?

I am trying to switch between two functions by pressing two switches at the same time.
Also i will use those two buttons in one function
I am not sure but i think i should consider debouncing
Should i use timer or another routine?


Best practice is to always denounce mechanical switches.