Remove unused tab navigation code
Add input validation for time fields