configuring canvas persistence