Editing the model of the class: MainFrame