AddLocationToActivities migration and code formatting