Doesn’t know the difference

Roxie sometimes doesn’t know the difference between treat and scratches. How do I help her to figure it out?