Update demo project.
Some warning fixs. Class is now iOS 5+.