Fixed crash on ios 6

Fixed an issue where SVProgressHUD would make the app crash on iOS 6.