Implement syncing service including foreground refresh