In several lines of the code you havewhile pause_event.is_set:It should bewhile pause_event.is_set():You have to correct that and the program will work.NOTE: the Labels time_label1, time_label2 and time_label3 are not defined yet in Tkinter.
while pause_event.is_set:
while pause_event.is_set():