You need to "register" the battery with the car to let it know you have replaced the battery. This can be done with bavarian technic tool or INPA i believe. Or take it to dealer to register battery.
Montego Blue E90 335i
7" VRSF IC | OFT Tune | DCI | RB PCV | Secondary CAT Delete & CYBA 3.75" Tips | M3 Front | CSL Trunk | 19" LC Dyna Wheels