UIApplication improvement
Merge pull request #1 from vbrylinskiy/master

UIApplication improvement