DangerousActivity() is called from correct place