A man was arrested after his reaction to an ice cream shop went viral and caught the police's attention.