minor refactoring, added IVE_COLOR for iOS 7.1