Activate/deactivate click control

Fix #385