Fixed bugs related to Date and Time Picker