Fixed bugs in Swift EventManager app introduced by iOS 8 beta 4 release.