Adding a marker when a location is assigned