        $("#progressBar .progress").remove()
        }

        function clearTable(data){
            let $accountCounts = $('accounts-count')
            if(data === 'all') {
                $('#accountsTable').html('')
                $accountCounts.text(0)
            }
            else{
                $accountCounts.text(parseInt($accountCounts.text()) - data.length)
                for(let id of data){
                    let e = $(`#accountsTable #${id}`)
                    if(e.length)
           