Fix missing preferences at first start.