Optimise and Fix bug.
1. easily set longer or shorter day.
2. restart clock is fine at any time.