Fix broken sharing option in iOS 8