change deploy target to iOS 5.0 of podspec and fix some UI issue.