Fixed sharing hook to not remove the share before the trashbin

Fixed the hook order between sharing app and trashbin