Updated deprecated values

Fixes warnings with iOS7 SDK