Added ability to hide buttons