Minor tweaks to adjust sample app to iOS 7.