private void btnAcceptActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAcceptActionPerformed
		String backupPath = txtPath.getText();
		File filePath = new File(txtPath.getText().trim());
		if (backupPath != null && !"".equals(backupPath.trim()) && filePath.exists()) {
			Controller.setProperty(ApplicationProperties.BACKUP_PATH, backupPath.trim());
		} else {
			AlertMessages.backupPathNullWhileConfiguring(this);
			return;
		}
		Object selectedPeriod = cmbPeriods.getModel().getSelectedItem();
		if (selectedPeriod != null) {
			Controller.setProperty(ApplicationProperties.BACKUP_PERIOD, selectedPeriod.toString());
		} else {
			AlertMessages.backupPeriodNull(this);
			return;
		}
		// This will execute only if there is no alert thrown.
		this.setVisible(false);
	}//GEN-LAST:event_btnAcceptActionPerformed