Do you know what they fed him at the pet store? I think many places tend to feed their bettas pellets, because they are more easily regulated than flakes, and many betta parents also use pellets. If he's still not eating a few days from now, try some pellets, or ask the store what they feed their bettas.