changed show activity logic for sharing