IF Statement doing operations even when not True, (I think)

I have it set to read a CAN message for Key Off which puts my display to sleep.

I just had a thought that I could add an IF Key=ACC then reinitialize the "Stored Time" to the current Mills. I could also initialize an Engine Run Timer to 0 here.

If I did it when Key=ON it would always be reinitializing because it would see a Key ON signal every 1-2 seconds. But if it only runs when Key=ACC then it would be reset properly right before each engine start and if you leave the Key in ACC say to listen to the radio, it would keep resetting its self until start which should be fine.