Fixed #31 for new iOS 7.1 behavior

@mrackwitz i took the liberty of fixing the iOS 7.1 bug