             self.passwordStore.pgpKeyPassphrase = passphrase
         }
         DispatchQueue.global(qos: .userInitiated).async {
+            // decrypt password
             do {
                 self.password = try self.passwordEntity!.decrypt(passphrase: passphrase)!
             } catch {

                }
                return
            }
            
            let password = self.password!
            DispatchQueue.main.async { [weak self] in
                self?.showPassword(password: password)
            }
        }
    }
    
    func showPassword(password: Password) {
        setTableData()
        self.tableView.reloadData()
        indicator.stopAnimating()
        editUIBarButtonItem.isEnabled = true
        if let urlString = password.getURLString() {
            if self.passwordEntity?.image == nil{
                self.updatePasswordImage(urlString: urlString)
            }
        }
    }


    private func addNotificationObservers() {
        NotificationCenter.default.addObserver(self, selector: #selector(setShouldPopCurrentView), name: .passwordStoreChangeDiscarded, object: nil)
        NotificationCenter.default.addObserver(self, selector: #selector(showPassword), name: .passwordStoreUpdated, object: nil)
    }
    
    func setShouldPopCurrentView() {
