add ReachabilityManager; adaptive ios8 for UIAlertView