changed promise.all to for loop saveEventDataLocally
changed promise.all to for loop saveEventDataLocally

googlecodelabs/workbox-lab,googlecodelabs/amp-pwa-workbox,googlecodelabs/workbox-indexeddb,googlecodelabs/amp-pwa-workbox,googlecodelabs/workbox-indexeddb,googlecodelabs/workbox-lab