ISR changed to only invert toggle