Remove old preferences keys on upgrade