The modifying code in DKNavigationBar is now written more defensively