see extended description

- some of all long-calculation tasks executed on new thread (not
ui-thread) and during them executed corresponding activities display
progress bar;

- refactoring

PS. !!! need to check for bugs and need to refactor code.