Working upvote and downvote with refresh