Added more options for buttons on the navigation bar.

if(!n) {

ObjC uses C semantics for if, while, etc so nil == 0 == false, anything else true. So checking to see if there's an object there is if (object) or if (!object) to see if it's not.

We should probably name 'n' something better as well (especially since I suspect it was me who named it that way).