Made the app iOS7 compliant