Implemented auto-wake and quiet hours, DB changes, timepicker bugfix.