use UIAlertController only if available
Merge branch 'feature/ios7_build' into develop