Fix iOS 6 deprecations and updated to 1.0.1