Updated preference code to support iOS 4.x, 5.x
Updated for release (v1.8.0)