Updated the setSelected function to reset viewStartDate on redraw

If you call setSelected and set the draw parameter to false (Forces a redraw) the viewStartDate value will be updated the the first of the input dates.

This should fix Issues: #57 & #77