Activity redirection after connecting to network