Fix bug in demo.

When using KVO, you need to make sure that you remove any observers on an object before it is dealloced.