and orientation switch handling to listviews to avoid casting crash