refactor checked/visible filter items