Fixed task selection and due date setting

Fixed task selection to make a list of tasks before changing the
selection.
Fixed dueToday to be identical to startToday