Plugin activate and deactivate triggers evenet working