added error message if list view has 0 elements