Tip for changing version with PC button

Hi, I just “hacked” my foot controller a bit to switch between two version of rackspace just by pushing the same button again. Maybe it will be interesting for someone. I am sending program change number from my controller as well as control change. CC is the same number for all PC controllers (22 in my case). Every rackspace has two variations. Rackspace and its first variation has the same PC number. In global MIDI it need to be assigned only to move down option with “variations switching only” and momentary. This way I have access to first variation of choosen rackspace, the second push gets me into the second one.