Add both to index and to storage in receiveString

Change-Id: I894b530e1e2a87a57023d4ad07bc2fb22de5b663