* replaced UIApplication categry with one of helper classes (category doesn't work as expected on iOS8+)
* updated imports for swift compatibility