Save favorites stub.
Open database only once.