Added option to set desired opacity of button