Fixes problem with getting alarm.

Signed-off-by: Adam Stark <llamadonica@gmail.com>
Fix problem where Timer callback and/or animateFrame hits after toStopState()

Signed-off-by: Adam Stark <llamadonica@gmail.com>