FIXED bug duplicate Liste'IDs in sync init response 

when the liste content change, sync init response was written with duplicate liste keeping old content.

Juste added FIX to remove the previous liste and then add the new one with up-to-date content and write the file like before.