use ui thread to run function ModifyTable