Change Time Frame for DB

I added functionality for the time frame of the events in the DB. When
you hit ReSync on the settings page, the DB will sync to the time frame
set.