added functions : de(activate) for widget

To fight against #6