Wried up the onServiceChanged event and added UI for characteristics.