i2c fixes in app demo