Save recent games in database and use it

I broke the trophy on the recent games page for highest domination.
However the database is fully up and running and storing games.