Fix - Bad habit task problem.

Sometimes the timer wouldn't be cancelled when clocking out of a bad
habit.