Changing title on navigation contoller (multiple views)

I have a view that has six buttons on it. Each of those buttons is related to an entirely different view. I embedded a navigation controller in the root view and all the other views works, but if I set the title they all have the same title.

How do I change the title for each separate view?

I actually found a very simple way to add a title - double click the navigation control bar in the view controller.

Solves my issue, although its not a programmatic solution it works.