public void Execute(object parameter)
        {
            // Cloning current obj to temp. We do not want to change list object.
            LocationData.Instance.TempLocation = new WpfLocation
            {
                Id = LocationData.Instance.CurrentLocation.Id,
                Name = LocationData.Instance.CurrentLocation.Name,
                Description = LocationData.Instance.CurrentLocation.Description,
                Coordinates = new Location
                {
                    Latitude = LocationData.Instance.CurrentLocation.Coordinates.Latitude,
                    Longitude = LocationData.Instance.CurrentLocation.Coordinates.Longitude,
                    Altitude = LocationData.Instance.CurrentLocation.Coordinates.Altitude,
                    AltitudeReference = LocationData.Instance.CurrentLocation.Coordinates.AltitudeReference
                }
            };

            var locationWnd = new LocationWindow();
            locationWnd.ShowDialog();

            if( locationWnd.DialogResult.HasValue && !locationWnd.DialogResult.Value )
                return;

            LocationData.Instance.EditLocation();
        }
        public void Execute( object parameter )
        {
            var locationWnd = new LocationWindow();
            locationWnd.ShowDialog();

            if (locationWnd.DialogResult.HasValue && !locationWnd.DialogResult.Value)
                return;

            LocationData.Instance.AddLocation();
        }