Adding events to asynctasks
It finally works.