         alertview.setTextTheme(.light)
     }
     
-    private func leaveViewController(sender: UIButton) {
-        didFinishLoading()
-    }
-    
-    func didStartLoading() {
-        playButton.startLoadingAnimation()
-    }
-    
-    func didFinishLoading() {
+    private func leaveViewController() {
         self.view.isUserInteractionEnabled = true
         playButton.startFinishAnimation(0 , completion: {
             let gameVC = self.storyboard?.instantiateViewController(withIdentifier: "GameViewController") as! GameViewController

        picker.backgroundColor = UIColor.clear
        setupSegmentControl()
        playButton.backgroundColor = UIColor.black
        activityIndicator = ActivityIndicatorView(text: "Loading")
        playButton.backgroundColor = CustomColor.customPurple
        playButton.normalCornerRadius = 25
    }

import TKSubmitTransitionSwift3

class LandingViewController: UIViewController {
    let landingCornerRadius: CGFloat = 8.0
    let segmentedControlLabelAttrbiutesDict = [NSFontAttributeName: UIFont(name: "Gotham-Bold", size: 14.0)!]
    let numberOfStoriesOpenTrivia = 20
