Add quit event