Mark done (multi), remove preStr, Set enddate to "999999" if not enter by user

Undo still have problem for edit, mark. it works with add, delete,
sort,clear, search.