Added ability to enable and disable showing the button in lists