add the callback for the startActivity