fixed the snapshotView selector call to use the new iOS 7 version.