Fix 2 NPEs.
Stop DigitalClock on pause.
See #29
Cache DateFormat.
State machine instead of multiple booleans.
Fixes #29
Unregister observer to prevent memory leak.