Hide datepicker on change in order to accomodate iPhone