Add row and reconfigure the grid layout