Refactor add task to use prompt.confirm

Closes #4