mainqueue dbcontroller numberOfAllTasks was not refreshed during save