Attempting patch to set new intent on resume

Implements suggested fix for issues #2 & #7, results in URL for most recent intent being available to current activity.