Please see section 7. of the User Manual for instructions on how to properly set up persistence.
User manual can be found here: https://github.com/Dzsek/pretense