Replace URL when new image is clicked and toggle upvote and downvote icons when clicked--regardless of whether the API call to vote was successful.