fix gpio callback registration

setting a callback for a gpio pin X would shift callback assignments for all gpio pins > X

the main loop sets/unsets gpio 8 (nfc) on every iteration. a callback registration for pin 11 would gradually move to higher pins and eventually pushed off the callbacks array.