Data is now gathered in the background in a seperate thread if the button is pressed