Added TimePicker UI for active time and changed checks for valid times
Merge branch 'gtestlocal'