Should fix ordering of day+1 times.
Fixes a Favourites bug on multiple DBs.
Fixes a number of Lint warnings.