refactored share with activity