`var currentActivity = ActivityHandler.currentActivity.new;` will be wrong once we implement the inline share activity (and potentially other activities in the future). I feel like we need something more abstract, and ActivityHandler is the good place to do this. So instead of having "leaveActivity" calling "ActivityHandler.resetActivity", we could have "resetActivity" doing the postResult. And maybe rename "resetActivity" to "leaveActivity".