function finishCurrentTask() {
        $(document).on("click",".js-currentTaskMission",function() {
            chrome.storage.local.get(['tasks'], function (result) {
                moveToOld(result.tasks, result.tasks.current.id)
                sendBadge();
                checkTasks();
            })
        })
    }
/**
     * list tasks when extension opened
     * @function finishCurrentTask
     * @memberof popupjs
     */
list tasks when extension opened
@function finishCurrentTask
@memberof popupjs
list tasks when extension opened @function finishCurrentTask @memberof popupjs
function finishCurrentTask() {
        $(document).on("click",".js-currentTaskMission",function() {
            chrome.storage.local.get(['tasks'], function (result) {
                moveToOld(result.tasks, result.tasks.current.id)
                sendBadge();
                checkTasks();
            })
        })
    }
function finishCurrentTask ( ) { $ ( document ) . on ( "click" , ".js-currentTaskMission" , function ( ) { chrome . storage . local . get ( [ 'tasks' ] , function ( result ) { moveToOld ( result . tasks , result . tasks . current . id ) sendBadge ( ) ; checkTasks ( ) ; } ) } ) }
list tasks when extension opened
 @function finishCurrentTask
 @memberof popupjs
list tasks when extension opened @function finishCurrentTask @memberof popupjs