     }
     
     private func getAppStoreURL() -> URL{
-        return URL(string: "itms-apps://itunes.apple.com/app/id" + getAppStoreID())!
+        var parameter = ""
+        if #available(iOS 10.3, *) {
+            parameter = "?action=write-review"
+        }
+        return URL(string: "itms-apps://itunes.apple.com/app/id" + getAppStoreID() + parameter)!
     }
     
     private func getAppStoreID() -> String{


import UIKit
import MessageUI

class ReviewHandler: NSObject{
    

    }
    
    func askForReview(){
        if #available(iOS 10.3, *){
            SKStoreReviewController.requestReview()
        }
        else {
            guard let viewController = self.viewController, viewController.isViewLoaded
                    else {
                DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .milliseconds(10), execute: askForReview)
                return
            }

            let reviewViewController = ReviewReminderViewController()
            reviewViewController.delegate = self
            viewController.present(reviewViewController, animated: true, completion: nil)
        }
    }
    
    func mayAskForReview() -> Bool{
        return true
        //return !user.canceledReviewReminder && (user.timesOpenedApp >= 7)
    }
    
    func triggerReview(){
