Updated to iOS7 Compatability