Problem interrupt pin change

I post all the code :

Here is what i use to configure internal pull-up resistor, is it correct ?

void InitialiseIO(){
  pinMode(A8, INPUT);	    // Pin A8 is input to which a switch is connected
  digitalWrite(A8, HIGH);   // Configure internal pull-up resistor
  pinMode(A9, INPUT);	    // Pin A9 is input to which a switch is connected
  digitalWrite(A9, HIGH);   // Configure internal pull-up resistor
}