history activity with listview (must retrieve data from database)