         return cell
     }
     
-    
     func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
         if indexPath.row == 2 {
             callAddDeviceMethod()
         }
         else if indexPath.row == 3 {
-            
             self.displayAlertOption(NSLocalizedString("delete-user", comment: ""), alertDescription: NSLocalizedString("deleteusermessage", comment: ""), onCompletion: { (buttonPressed) in
-                switch buttonPressed{
+                switch buttonPressed {
                 case alertButtonType.OK:
                     self.callUnSubscribeMethod()
-
                     
                 case alertButtonType.cancel:
                     break

        // Dispose of any resources that can be recreated.
    }
    
    private func callAddDeviceMethod() {
        NewDeviceRequestManager.sharedInstance.putNewDevice({ (success, message, code, addDeviceCode) in
            if success {

        UIApplication.sharedApplication().statusBarHidden = true
        settingsArray = [ NSLocalizedString("change-pin", comment: ""), NSLocalizedString("privacy", comment: ""), NSLocalizedString("add-device", comment: ""), NSLocalizedString("delete-user", comment: "")]
        
        
        tableView.tableFooterView = UIView(frame: CGRectZero)
        
        dispatch_async(dispatch_get_main_queue(), {
            self.gradientView.colors = [UIColor.yiMango95Color(), UIColor.yiMangoColor()]
            self.tableView.backgroundColor = UIColor.yiTableBGGreyColor()
        })
        
    }
    
    override func didReceiveMemoryWarning() {
