Added ability to enable and disable showing the button on lists