PR has to be set to 1 in order to work correctly
I used: EXTI->PR &= ~(1);
this sets the bit to 0
Whats would be right?
EXTI->PR |= 1;
This only works for EXTI0 because it sets the LSB to 1 not individually. One would have to move the bit to the corresponding EXTI.