title: Changing of button title in iOS with swift 3 not working
body: <p>I am trying to change the title of a button using <code>setTitle</code> </p>
  
  <p>I am getting no errors and my <code>IBAction</code> is working but nothing happens.</p>
  
  <p>What am I missing here?</p>
  
  <pre><code>import UIKit
  
  class ViewController: UIViewController {
  
      @IBOutlet weak var hourTimerButton: UIButton!
  
      @IBAction func hourTimerButton(_ sender: Any) {
          hourTimerButton.setTitle("test", for: [])
          print("button")
      }   
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          hourTimerButton.setTitle("test", for: .normal)
          hourTimerButton.setTitle("test", for: [])    
      }
  }
  </code></pre>