Hack to force updating navigationItem.rightBarButtonItem.