buy button selects element