I am having trouble finding this movie i've seen couple years ago

It was about a girl moving to a new town with her parents and the girl is selling these small things in front of her parents ice cream shop and she meets this girl while sitting in front of the shop and some time later in the movie her brother kills a dog. I really cant remember much of it.