@FXML public void action(ActionEvent event) {
        if(event.getSource().equals(buttonOk)) {
            String hpass = Hash.md5(editPass.getText());
            if(editLogin.getText().equals("Компьютер"))
                Model.getIntance().getFirstUser().empty();
            else
                Model.getIntance().getFirstUser().set(editLogin.getText(), hpass);
        }

        if(event.getSource().equals(buttonCancel))
            Core.getIntance().close();
    }