Added automatic gradient change for iOS Versions: 7 % 6;