Refactored insert series asynctask