Leave change early if not in the day view mode.
Better place to set the date.
Merge pull request #197 from howbazaar/fix-viewmode

Fix selecting month or year from month or year views with a valid date