Add data attribute to checkbox item according to status