     fatalError("init(coder:) has not been implemented")
   }
 
+  open override func loadView() {
+    super.loadView()
+    tableView?.delegate = self
+  }
+  
   override func viewDidLoad() {
     super.viewDidLoad()
     title = "\(language.name) Settings"

  }
  
  
    // MARK: - Table view data source

    override func numberOfSections(in tableView: UITableView) -> Int {
        return 2

      cell.textLabel?.font = cell.textLabel?.font?.withSize(16.0)
      return cell
    }
  
  // MARK: - UITableViewDelegate

  // fixed font style. use custom view (UILabel) if you want something different
  override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
    var title: String
    switch (section) {
    case 0:
      title = "keyboards"
    case 1:
      title = "language settings"
    default:
      title = "unknown header"
    }
    return title
  }

  override func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
  {
    if (section == 0 || section == 1)
    {
      return 32.0;
    }
    else
    {
      return CGFloat.leastNormalMagnitude;
    }
  }
  
  override func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
    return CGFloat.leastNonzeroMagnitude
  }

  override func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) {
    
