function startOldTaskAgain() {
        $(document).on("click",".js-launchTask",function() {
            var taskId = $(this).parent().data('id');
            chrome.storage.local.get(['tasks'], function (result) {
                allTasks = result.tasks;
                taskId -= 1;
                moveToOld(allTasks, taskId)
                movetoCurrent(allTasks, taskId)
                sendBadge();
            })
            checkTasks();
        })
    }
/**
     * list tasks when extension opened
     * @function startOldTaskAgain
     * @memberof popupjs
     */
list tasks when extension opened
@function startOldTaskAgain
@memberof popupjs
list tasks when extension opened @function startOldTaskAgain @memberof popupjs
function startOldTaskAgain() {
        $(document).on("click",".js-launchTask",function() {
            var taskId = $(this).parent().data('id');
            chrome.storage.local.get(['tasks'], function (result) {
                allTasks = result.tasks;
                taskId -= 1;
                moveToOld(allTasks, taskId)
                movetoCurrent(allTasks, taskId)
                sendBadge();
            })
            checkTasks();
        })
    }
function startOldTaskAgain ( ) { $ ( document ) . on ( "click" , ".js-launchTask" , function ( ) { var taskId = $ ( this ) . parent ( ) . data ( 'id' ) ; chrome . storage . local . get ( [ 'tasks' ] , function ( result ) { allTasks = result . tasks ; taskId -= 1 ; moveToOld ( allTasks , taskId ) movetoCurrent ( allTasks , taskId ) sendBadge ( ) ; } ) checkTasks ( ) ; } ) }
list tasks when extension opened
 @function startOldTaskAgain
 @memberof popupjs
list tasks when extension opened @function startOldTaskAgain @memberof popupjs