fixed settings crash in iOS 7, closes #28