Update main activity only after second response