Fix timepicker keyboard selection

fix for #1294