Update enum values of ListView and the related test case