Dynamic composition of grid containing buttons with strings implemented