fixed crash when pressing enter without a card selected in ListViewDb (#452)