     self.addSubview(ignoreInfo)
 
     self.addSubview(openFilesFromApplicationsTitle)
-    self.addSubview(openFilesFromApplicationsPopup)
+    self.addSubview(self.openFilesFromApplicationsPopup)
     self.addSubview(openFilesFromApplicationsInfo)
 
     self.addSubview(afterLastWindowTitle)

        }

        if self.openFilesFromApplicationsAction != state.openFilesFromApplicationsAction {
            self.openFilesFromApplicationsPopup.selectItem(
                at: AppState.OpenFilesFromApplicationsAction.allCases.firstIndex(of: state.openFilesFromApplicationsAction) ?? 0
            )
            self.openFilesFromApplicationsAction = state.openFilesFromApplicationsAction
        }

        if self.lastWindowAction != state.afterLastWindowAction {

    let index = sender.indexOfSelectedItem

    guard AppState.OpenFilesFromApplicationsAction.allCases.indices.contains(index) else {
      return
    }
    self.openFilesFromApplicationsAction = AppState.OpenFilesFromApplicationsAction.allCases[index]
    self.emit(.setOpenFilesFromApplications(self.openFilesFromApplicationsAction))
