The famously ice cream-loving president made an unannounced visit to a local ice cream shop.