header for listview and bug fix for deleting an item