Added a check before resetting a timer to ensure that a timer pending execution isn't reset. This gives time for a backgrounded app to process timers properly before the UI can reset them.