Added code that actually presses the button that makes the purchase