App opening error

Since you are using a clock you have to set it to false when clock.timer