Good day

I bout a 2009 BMW 330i M Sport I drove the vehicle for 6 days and the VANSOS sensor gave in. I drove the vehicle in sport mode (DS) and felt like it fluted. I stopped and the vehicle struggled to Idle. The VANOS sensor was replaced as per the dealership where Bought the vehicle. So I get the vehicle back driver about 600 km with the vehicle in normal D mode all is fine so I decided to put it to sport mode and sit the foot down. I shifted 2 gears on the paddle sifters and boom a HUGE cloud of smoke and the vehicle was pissing out the oil. The vehicle switched off by itself and now it doesn't want to start not even the electric window is working now. Why when the vehicle is in DS (SPORT MODE) the vehicle breaks down?