 @NSApplicationMain
 class AppDelegate: NSObject, NSApplicationDelegate, CLLocationManagerDelegate {
 
+    @IBOutlet weak var window: NSWindow!
+
     private let statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength)
     private let locationManager = CLLocationManager()
     private let locationTimerInterval = TimeInterval(900)
+    private let popover = NSPopover()
+    private var defaultsChanged = false
     private var locationTimer: Timer?
     private var weatherTimer: Timer?
     private var currentLocation: CLLocationCoordinate2D?
     private var eventMonitor: EventMonitor?
-    private let popover = NSPopover()
 
     func applicationDidFinishLaunching(_ aNotification: Notification) {
         // Location

            repeats: true,
            block: { [weak self] _ in self?.getLocation() }
        )
    }

    private func getWeatherViaZipCode() {

        eventMonitor?.stop()
    }

    // MARK: CLLocationManagerDelegate

    func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
