Fix the write request functionality from GATT client