Index: flowtimer/main.py
===================================================================
--- flowtimer/main.py	(revision 1fd7029ead23b819b76a930d9f42958cc3de992e)
+++ flowtimer/main.py	(revision 8fb44c2b22ae58d39ee14f1290cdec2862f41ae9)
@@ -6,5 +6,4 @@
 from PIL import Image, ImageTk
 from pathlib import Path
-import math
 import datetime
 
@@ -28,8 +27,7 @@
         self.photo = ImageTk.PhotoImage(file=Path(__file__).parent /
                                         'resources' / 'flowtimer_startbg_new.png')
-        print(self.schedule.current_phase)
+        print(self.schedule.current_phase.title)
         self.show_config = self.schedule.current_phase.title
         self.config_state = 'default'
-        print(self.schedule)
 
         self.build_gui()
@@ -77,4 +75,5 @@
                                            style="orange.Horizontal.TProgressbar",
                                            orient="horizontal", length=600, mode="determinate")
+        self.progressbar["maximum"] = 59
         self.progressbar.pack(side='top')
 
@@ -104,6 +103,4 @@
         self.label_start.pack_forget()
         current_process = self.after(1000, self.tick)
-        self.currentValue = self.currentValue + 1
-
         if self.schedule.state == 'initial':
             self.label_sequence.config(self.start_color(root))
@@ -111,5 +108,5 @@
             self.label_duration.config(self.start_color(root))
             self.label_duration.config(text=("noch " +
-                                             str(self.schedule.current_phase.time_left) +
+                                             str(self.schedule.current_phase.ticks_left // 60) +
                                              " Min\n"))
             self.schedule.start()
@@ -117,4 +114,7 @@
         else:
             if self.schedule.running():
+                self.schedule.tick(1)
+                self.progressbar["value"] = (self.schedule.current_phase.initial_ticks -
+                                             self.schedule.current_phase.ticks_left) % 60
                 self.progressbar.update()
                 self.label_sequence.configure(self.start_color(root))
@@ -123,8 +123,8 @@
                 self.label_duration.config(self.random_color(root))
                 self.label_duration.config(text=("noch " +
-                                                 str(math.ceil(self.schedule.current_phase.time_left))
+                                                 str(self.schedule.current_phase.ticks_left // 60)
                                                  + " Min\n"), bg=self.random_color(self.label_duration))
-                self.label_config_text.config(text=(self.schedule.current_phase.current_phase_number+1,
-                                                    "/", self.schedule.current_phase.current_phase_number),
+                self.label_config_text.config(text=(self.schedule.current_phase.current_phase_number()+1,
+                                                    "/", self.schedule.current_phase.current_phase_number()),
                                               fg='blue',font="Times 48")
 
@@ -196,7 +196,4 @@
     def progress(self, currentValue):
         self.progressbar["value"] = self.currentValue
-        self.progressbar["maximum"] = 60
-        if self.currentValue == 60:
-            self.currentValue = 0
 
     def change_config(self):
