Change open/close event value