Trying to fix timepicker bug.