Fix preference setting in new keys