add analyze button to the grid