Fix bug when adding task from widget and simpletask is not running.