fixed issue of timer counter not updated when reaching onFinish()