You should remove these lines in Activity_Create in the display module.
B4X:
Sub Activity_Create(FirstTime As Boolean)
' If SQL1.IsInitialized = False Then
' SQL1.Initialize(File.DirDefaultExternal, "test1.db", True)
' End If
And change this line:
B4X:
cursor1 = Main.SQL1.ExecQuery("SELECT * FROM user")
The database is already declared as a process global object in the Main module so no need to redeclare it in the display module.
In your code in the display module your initialize a NEW database with the same name, so won't find the inserted names.
Here you are.
The problem you had is that you filled the ScrollView in Activity_Create and not in Activity_Resume.
When leaving the display activity it's paused and when you come back from the addstudent Activity the Activity_Create routine is not called.
The attached modified program works.
I added also Activity.Finish in the Activity_Pause routines.
Replaced ExitApplication by Activity.Finish in the Main module.