Changing hte mechanism of saving stats.
Now It's AsyncTask.