Fixed after crashing
Fixed the GUI crash, but the database insetion is still not working
Fixed the connection with the database