public function __construct($AppUI, $task = null)
 {
     $this->task = is_null($task) ? new CTask() : $task;
     parent::__construct($AppUI);
 }