Where did you get i2c_gpio_test application ? I do not see it as part of the kit.
Now as far as your question, then you nieed to modify the ISR (Interrupt Service Routine) that is called when particular IRQ is triggered If this example uses GPIO module, then the ISR is in gpio.c file of that module and is gpio_irq_handler() function.