Fix modification of selected date
v1.0.7