Moved colorSettings call to newData function