Saving the Location using CoreData.