#6: Code implementing Delay From GUI