Updates to preference managment

Modified persistence for preferences