allow activate and deactivate extension

Signed-off-by: crynobone <crynobone@gmail.com>