moving Activate and Deactivate event listeners