Fixes an issue when cancel callback wouldn't being called at ActionSheetDatePicker.