changed the async task to another class