Added validation to ListView