Timepicker tweaks

Adding functionality for timepicker