Move query save/restore to Application.

This should prevent crash when app is restored to article collection
activity expecting lookup results but lookup was never made.