handle share and browsable intents