todo detail shows new or edited todo data