Add row to spreadsheet when device disconnects