updated todoview

made "added todo" appear only if there is a todo to add