toggling between edit and show view for todo item works