corrected bug while setting sleeping hours