- As @alextrob noticed, I forgot to remove the observers for app state notifications. Fixed.
- Also, I modified the demo code, since now you can not add colors when app is inactive. So the first color calculation was in the viewDidLoad of ViewController when app was inaction, the result was nil. Now, I moved the first calculation to viewDidAppear.