diff --git a/UI/UI.py b/UI/UI.py
index ad9341fd2e61aa681da1c6eec46f4b5ccc8ff09f..fc4368ea1abcb9a89efd25225af99dfc7d931ffa 100644
--- a/UI/UI.py
+++ b/UI/UI.py
@@ -30,9 +30,10 @@ lsum.pack()
 opt = tk.OptionMenu(app, variable, *OptionList)#Drop-Down MenĂ¼
 opt.config(width=90, font=('Helvetica', 32))
 opt.pack()
-ZielortID=[0,0,0,0,0,0,0,0,0,0,0,0]
-Wochentag=[0,0,0,0,0,0,0]
+
 def berechne():
+    ZielortID=[0,0,0,0,0,0,0,0,0,0,0,0]
+    Wochentag=[0,0,0,0,0,0,0]
     now = datetime.now() # aktuelle Zeit
     today = date.today()# aktuelles Datum
     current_time = now.strftime("%H:%M:%S")