fix _isOverlayRegistered and add logging for _addNavigationButtons