BLE GATT read/write characteristic: source code for Android 4.4 KitKat