Refactor list-filter component