Clean events handlers on deactivate

Adds events handlers removal and deactivate action.