db delete and preferences1