private void RefreshReadingRecord()
        {
            List <ReadingRecord> records = bookService.RefreshReadingRecord(phoneAppServeice.State["username"].ToString(), currentISBN);

            foreach (ReadingRecord record in records)
            {
                Debug.WriteLine("[DEBUG]Record belongs to the book with ISBN: " + record.ISBN);
            }
            int totalHaveReadPage = CaculateHaveReadPage(records);

            if (totalHaveReadPage == book.PageNo)
            {
                book.Status = BookStatus.FINISHED;
                MessageBox.Show("又读完了一本书!");
            }
            book.HaveReadPage = totalHaveReadPage;
            bookService.update(book);

            //int days2forecast = ForecastDays2Finish(records, totalHaveReadPage);
            Days2FinishTextBlock.Text = ForecastDays2Finish(records);

            readingProgressBar.DataContext = book;
            readingProgressBar.Value       = book.HaveReadPage;

            ProgressTextBlock.DataContext    = book;
            ProgressTextBlock.Text           = ((double)book.HaveReadPage / book.PageNo * 100).ToString("f0") + "%";
            ReadingRecordHistory.ItemsSource = records;
        }