Modify MainActivity for asynchronous get