This example (convert note to program change) may also be a solution: Midi controller: Changing rackspaces using buttons/pads - #53 by rank13
This example (convert note to program change) may also be a solution: Midi controller: Changing rackspaces using buttons/pads - #53 by rank13