added timepicker dialog to program