Deletion of the empty lines at the end, which crashes the app
Trainig of the MLP
Test of the MLP
Gestion of the save