private void btn_ModeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_ModeActionPerformed
        boolean isAdv = !(Boolean)gui.FromMem("AdvMode", false);
        if(!isAdv || isAdv && JOptionPane.showConfirmDialog(this, "Are you sure you want to enable advanced options?", "Enable advanced settings", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION){
            SetMode(isAdv);
            gui.ToMem("AdvMode", isAdv);
        }
    }//GEN-LAST:event_btn_ModeActionPerformed