Set the selected date to the passed in date

Set the selected date to the passed in date
by moving the monthPicker.setValue(date); out the null
check

issue A24Group/Triage#2038
Merge pull request #140 from Rynoh/refactorSetValueOnMOnthPicker

Set the selected date to the passed in date