Set up persistent preferences