fixes in date calculations
fine tuned the multi/single selection and pre selection