disabling synchronously the vector layers checkbox