Make first entry active when entry list changes.

This makes it a lot easier to always use the keyboard. When searching
for an entry or changing groups, the first entry (if one is available)
will be made the active entry.