Modified code to call the connection screen first rather than Main_Activity