sharing button made optional and controlled by option sharebutton