fix logic for selecting hour through timepicker