fixed cancel button
cancel now correctly stops timer.