wrting statistics into google spreadsheet is added but there may be something wrong with accuracy calculations
fix avrg record bug