fixed timer unable to reset after quit bug