Adding some logic to determine if it's a quiet time and using timepicker