Adding an onClick listener for games list