Add ability to load previous results for a day

Now if the program is stopped and restarted in the middle of the day,
results saved in the database are loaded into the arrivals for each line
when the program is started again