     }
     
     public func libraryViewStartedLoadingImage() {
-		// TODO remove to enable changing selection while loading but needs cancelling previous image requests.
+        // TODO remove to enable changing selection while loading but needs cancelling previous image requests.
         libraryVC?.isProcessing = true
         DispatchQueue.main.async {
             self.libraryVC?.v.fadeInLoader()

    }
    
    func updateUI() {
		if !YPConfig.hidesCancelButton {
			// Update Nav Bar state.
			navigationItem.leftBarButtonItem = UIBarButtonItem(title: YPConfig.wordings.cancel,
                                                           style: .plain,
                                                           target: self,
                                                           action: #selector(close))
		}
        switch mode {
        case .library:
            setTitleViewWithTitle(aTitle: libraryVC?.title ?? "")


            // Disable Next Button until minNumberOfItems is reached.
            navigationItem.rightBarButtonItem?.isEnabled =
                libraryVC!.selectedItems.count >= YPConfig.library.minNumberOfItems

        case .camera:
            navigationItem.titleView = nil
