     }
 
     @IBAction func loginInApp(_ sender: AnyObject) {
-        if (adapter.isAuthorized) {
+        if adapter.isAuthorized {
             alert("Already authorized", message: "")
             return
         }

    }

    @IBAction func tryApi(_ sender: AnyObject) {
        if !(adapter.isAuthorized) {
            alert("Login first!", message: "")
            return
        }

        adapter.getLineApiClient().getMyProfile {[unowned self] (profile, error) -> Void in
            if error != nil {
                self.alert("Error occured!", message: (error?.localizedDescription)!)
                return
            }


    }

    @IBAction func loginWithLine(_ sender: AnyObject) {
        if adapter.isAuthorized {
            alert("Already authorized", message: "")
            return
        }

        if !adapter.canAuthorizeUsingLineApp {
            alert("LINE is not installed", message: "")
            return
        }
