store layout settings permanently