         replayButton.translatesAutoresizingMaskIntoConstraints = false
         replayButton.removeConstraints(replayButton.constraints)
         
-        resultsLabel.topAnchor.constraintEqualToAnchor(cardView.topAnchor, constant: 10).active = true
-        resultsLabel.leadingAnchor.constraintEqualToAnchor(cardView.leadingAnchor, constant: 10).active = true
-        resultsLabel.trailingAnchor.constraintEqualToAnchor(cardView.trailingAnchor, constant: -10).active = true
+        let inset:CGFloat = 10
+        
+        resultsLabel.topAnchor.constraintEqualToAnchor(cardView.topAnchor, constant: inset).active = true
+        resultsLabel.leadingAnchor.constraintEqualToAnchor(cardView.leadingAnchor, constant: inset).active = true
+        resultsLabel.trailingAnchor.constraintEqualToAnchor(cardView.trailingAnchor, constant: -inset).active = true
         
 //        resultsLabel.bottomAnchor.constraintEqualToAnchor(replayButton.topAnchor, constant: 20)
         
-        replayButton.bottomAnchor.constraintEqualToAnchor(cardView.bottomAnchor, constant: 10).active = true
-        replayButton.leadingAnchor.constraintEqualToAnchor(cardView.leadingAnchor, constant: 10).active = true
-        replayButton.trailingAnchor.constraintEqualToAnchor(cardView.trailingAnchor, constant: -10).active = true
+        replayButton.bottomAnchor.constraintEqualToAnchor(cardView.bottomAnchor, constant: -inset).active = true
+        replayButton.leadingAnchor.constraintEqualToAnchor(cardView.leadingAnchor, constant: inset).active = true
+        replayButton.trailingAnchor.constraintEqualToAnchor(cardView.trailingAnchor, constant: -inset).active = true
         
         return cardView
     }
     
     func replayButtonTapped(sender: UIButton!) {
         print("button tapped")
-        view.setNeedsDisplay()
+//        view.setNeedsDisplay()
+        resetGame()
     }
     
     func setupViewShadow(layer:CALayer) {

     Rewinds all the swipeViews, resets the votes (UI and voteRecord) to pre-voting, resets the resultsView
     */
    func resetGame() {
        
    }
    
    //ViewController Ends here
}

        navigationController?.setToolbarHidden(false, animated: false)
        view.clipsToBounds = true

        // SwipeableView setup
        swipeableView = ZLSwipeableView()
        swipeableView.numberOfHistoryItem = UInt.max
        swipeableView.allowedDirection = .Horizontal
        setSwipingAllowedTo(false) ///Swiping locked until YES/NO recorded
        view.addSubview(swipeableView)
        swipeableView.frame = view.bounds
        swipeableView.numberOfActiveView = 7
