How can you get the dowsing machine poketch app?

Dawn/Lucas gives it to you after you beat the cycling road.