prevent critical hit when unticking a task

Fixes https://github.com/HabitRPG/habitrpg/issues/2356

Currently, when you untick a todo or daily, there's a chance of a critical hit. This prevents that.
Merge pull request #150 from Alys/patch-3

prevent critical hit when unticking a task