Revert "fixed error on canceling a new todo"

This reverts commit a9bdb95e6d8ed2440972e5709d17506583f8f357.