Define a variable for "li[data-tab-id='{0}'] input.toggle-checkbox" since you reference it twice (and it is long and complicated).