fixed a bug for when voting on more than one restaurant.
For smoother ux I first add/remove the vote in the ui and then perform the operation.
if the operation fails then I revert the change.