Updated for iOS 7.

Removed most warnings and updated app for iOS 7.