Added the buy button with it implemented function