using private storage to store settings