Fixed a bug in datalist widged and updated sample apps