add AsyncTasks for database operations