snacks not saved

it happened to me multiple times. I save the snack and I come back the next day I don’t find my saved new code. I only see the old one. is there a way to recover my snack?