sharing button, cleanup