Redirect back to previous resources when attending/leaving activities