Checks for button array equality to avoid removing and re-adding buttons...

... if possible, since there's a significant performance cost that affects the frame rate when scrolling.