bug fix: if user clicked cancel, then reloaded page, they would still see the task they canceled