Added background task agent for location tracking