Clean up DB, after we're done with testing Preferences

@icewind1991 @DeepDiver1975