Allow nav bar buttons to be set with a barbuttonitem instead of a hash.