18th commit

1. Add a predictor to app through which we can predict the next coming
day based on statistics in DB. Now the predictor is very simple, it just
base on calculate the average of intervals in DB.
2. Everytime we resume to the MainActivity. Print the predicted day and
the time now in textview.