         {
             annotation = movingAnnotation!
             annotation.coordinate = viewCreate.map.coordinatesAtCenter()
+            movingAnnotation = nil
         }
         
         beforeAddLocation(location:annotation)

    {
        DManager.sharedInstance.save()
        project = nil
        VMainAlert.Message(message:NSLocalizedString("CMainController_saved", comment:""))
        
        DispatchQueue.main.async
        { [weak self] in

    {
        if !model.locations.isEmpty
        {
            movingAnnotation = nil
            viewCreate.map.removeAnnotations(model.locations)
            model.locations.removeAll()
            regenerateRoute()
            viewCreate.pointer.showPointer()
        }
    }
    
