public Tasker addUITask(Task task){
  tasks.add(task);
  task.setRunType(THREAD_TYPE.UI);
  lastAddedTask=task;
  return this;
}

public Tasker addUITask ( Task task ) { tasks . add ( task ) ; task . setRunType ( THREAD_TYPE . UI ) ; lastAddedTask = task ; return this ; }
add a new ui task
