ListView: minor code styling