Always make a point of praising your dog and offering a couple of treats whenever he eliminates in the right place. Keep a treat container by your dog's toilet area. You need to be there anyway to inspect and pick up your dog's feces (before the stool becomes home and dinner for several hundred baby flies). Remember, you want your dog to want to eliminate in his toilet area and to be highly motivated to do so, even when he develops geriatric incontinence.
Similarly, a stuffed Kong a day will continue to keep the behavior doctor away. Your dog still needs some form of occupational therapy to idle away the time when left at home alone. There is no magic potion and there is no drug that will prevent household problems, such as destructive chewing, excessive barking, and hyperactivity, or alleviate boredom, stress, and anxiety as quickly, easily and effectively as stuffing your dog's daily diet of kibble into a few Kongs.