There's a chance he might have UTI. If so, definitely having a vet check is in order.
Does Your Dog Have a Urinary Tract Infection? Learn the Symptoms
If he's always been a picky eater... Have you tried THK (the honest kitchen) or raw food like (Primal)? My Zoey is somewhat a picky eater but she seems to do really well with THK.