add grid to main activity