setState(new DownloadController.Started());
break;
case DownloadFlag.PAUSED:
setState(new DownloadController.Paused());
break;
<BUG>case DownloadFlag.CANCELED:
setState(new DownloadController.Canceled());
break;</BUG>
case DownloadFlag.COMPLETED:
setState(new DownloadController.Completed());

setState(new DownloadController.Started());
break;
case DownloadFlag.PAUSED:
setState(new DownloadController.Paused());
break;
case DownloadFlag.COMPLETED:
setState(new DownloadController.Completed());
