Only reset state.date when the selected date is changed
Merge pull request #23 from Hacker0x01/fix-month-switching

Only reset state.date when the selected date is changed