added button to add grids and finalized grid selection functionality, minor bugs remain