Facing some problem declaring interrupts

Hello
Why do you need to use the interrupt technologie for your project?

I guess a simple input-pin-state-change method will do this job too.