Fixed a bug with the navigation bar

Fixed a bug with the navigation bar where the bar button items did not update when the theme changed. This fix works for the back bar button item too.

Fix for #91