Disable sharing buttons if no file selected