Updated iOS for background modes, created event queue