Fixed iOS 8 Deprecated Warnings