handle loading from background refresh