Implemented sharing from the history menu