You should use webstorage, create a key "Purchased" after of purchasing a stuff, when player restarts the game, use a condition on start layout:
If "Purchased" key exists, then add action or whatever like deleting images buy and creating an image "purchased".