Suuport iOS 5

Original version require iOS 6+