Wait to load firebase until background done