fix race condition where the device motion callback would attempt to save client data before the Firebase client reference was created
fix race condition where the device motion callback would attempt to save client data before the Firebase client reference was created

herebefrogs/office-to,herebefrogs/office-to