Updated project settings for iOS 7. Improved code style.