Small change to refresh in background for ios7