added message when timer is at 0
invalidate timer when pressing the cancel button