Fix preference loading in background service.

Service would consistently crash because the context needed for
Preferences in the service was not complete until after the constructor
had completed.