Fix secondary button in tables