add new to do functionality and change state complete to notcomplete