Made edit games work in addGame page