Changed Asyntask to hashmap