Make redrawing of data view work on ui thread