Fixed wrong key in preference.