Commit the changes for the gui