Playgrounds keep offloading to cloud - how to prevent it?

In Swift Playgrounds app playgrounds keep offloading to cloud (after a period of inactivity), and I constantly have to download them again and again to use them. How to disable this and always keep all playgrounds on my device?