final AdjustSpeedLimitsDialog _this = this;
ok_button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent event) {
dialog_action = DialogAction.OK;
(new JMThread(new JMRunnable() {
public void JMRun() {
float d_limit = _this.getDownloadLimit();
float u_limit = _this.getUploadLimit();
try {
if( _config_manager.getDownloadLimit() != d_limit )