Added code to hide button after checkout