refactor code, using string for boolean value
highlight listitem in page cfg