Updated Uilib for iOS 8 support