update button style for grid item