Problem with saving a feature collection

When GPS changes, a marker should be moved. When save is pressed, a new marker is added. This should be saved without the first marker (user) and loaded when starting.
SaveTest.aia (55.9 KB)

This appears over-complicated?

You need one designer time marker in order to be able to access the marker blocks, after that you can simply create additional markers as required. Add these markers to a list in order to access them later. There should be no need for a feature collection, unless you are wanting to recreate the markers on the next run of the app?

I manage to create the markers and save them as CSV. However, it should be saved as Geojson and loaded again when the app is restarted.