Added fetchData in main activity