Fixing date picker for moving dates.