Bug fix in editing the bluetooth environment variables of an environment