fixed bug in time picker not hiding