I would not use CC 127 as the MIDI Spec calls this out as a CC to reset all MIDI configurations. Pick something unused like perhaps 102.
MIDI CC List from MIDI.org
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz