Changed the switches disabled and enabled state according to the iOS 7 version