Fix Battery Customization crash