Fix `lastRow` and `append` in case there is no cell in worksheet. Reduce OAuth refresh call (less HTTP requests).