     
     override public func viewDidLoad() {
         super.viewDidLoad()
-        setupViews()
+        view.backgroundColor = UIColor(white: 0, alpha: 0.5)
+        [subscribeView, restorePurchasesButton].forEach { self.view.addSubview($0) }
         view.setNeedsUpdateConstraints()
     }
     

            $0.left.equalTo(view.snp_left).offset(20)
            $0.right.equalTo(view.snp_right).offset(-20)
            $0.top.equalTo(view.snp_top).offset(40)
            $0.bottom.equalTo(view.snp_bottom).offset(-40)
        }
    }
    


@objc public protocol SubscriptionViewControllerDelegate {
    func subscriptionViewControllerRowTapped(atIndex index: Int)
    func restoreButtonTapped()
}

public class SubscriptionViewController: UIViewController, SubscribeViewDelegate {
    public var delegate: SubscriptionViewControllerDelegate?
    
    private var subscribeView: SubscribeView
    private lazy var restorePurchasesButton: UIButton = {
        let button = UIButton()
        button.titleLabel?.font = .systemFontOfSize(18)
        button.addTarget(self, action: #selector(restoreButtonTapped),
                         forControlEvents: .TouchUpInside)
        return button
    }()
    private var constraintsSetUp = false
    
    // MARK: - Init
    
    public init(title: String, images: [UIImage], commentTexts: [String], commentSubtitleTexts: [String],
                subscribeOptionsTexts: [String], cancelOptionText: String, restoreButtonTitle: String) {
        subscribeView = SubscribeView(title: title, images: images,
                                      commentTexts: commentTexts,
                                      commentSubtitleTexts: commentSubtitleTexts,
                                      subscribeOptionsTexts: subscribeOptionsTexts,
                                      cancelOptionText: cancelOptionText)
        super.init(nibName: nil, bundle: nil)
        
        subscribeView.delegate = self
        restorePurchasesButton.setTitle(restoreButtonTitle, forState: .Normal)
        
        definesPresentationContext = true
        providesPresentationContextTransitionStyle = true
        modalPresentationStyle = .OverCurrentContext
    }
    
    required public init?(coder aDecoder: NSCoder) {
