finish onclick for each cell