Modified this to handle iOS 8 settings calls.