Use ListView.getItemAtPosition instead of adapter.getItem()

The ListView header offsets the positions by 1. Querying the adapter
directly won't work since the ListView decorates our adapter with
another one.