When groups are updated, e.g. after a Reset or an import, then (try to) keep the current selection and the current item. GnuPG-bug-id: 5638