Set state canceled instead of deleting the todo