Fixed Bug related to Sleep hours not working after reset and screen
colors getting lost after reset.