Added an initial pause event as well to catch the pause event