include datum states in datalist

we modified datalist code to include datum states dropdown (and flag but the flag won't be necessary). checkbox behaviour and colour changing on datalist doesn't match what user did.