Some cleanup of MyPreferenceDBHandler.