Implementing function that updates the prgress bar

Function that uptates the listaGeral about the checked tasks also were
implemented.