fixed bug of showing datePickerView.