Adopted demo project and fixed inter-compatibility of iOS versions (for iOS 7) (first try)