ticket:1 switch settings to sqlite db