Turn extension on/off.