updated GUI and optimisation state diagram to reset ticker to 0