@Override
		public void actionPerformed(ActionEvent e) {
			if (e.getSource() == ExerciseManagerUI.this.btnAddExercise) {
				MainFrame.updateFrame(
						new ManageExerciseInfoUI().getManageExerciseInfoUI(),
						"Manage Exercise Info");
			}

			else if (e.getSource() == ExerciseManagerUI.this.btnDeleteExercise) {
				int reply = JOptionPane.showConfirmDialog(null,
						"Are you sure you want to perform a Delete?",
						"Delete Confirmation", JOptionPane.YES_NO_OPTION);
				if (reply == JOptionPane.YES_OPTION) {
					ExerciseManagerUI.this.presenter.delete();
				}
			}

			else if (e.getSource() == ExerciseManagerUI.this.btnEditExercise) {
				MainFrame.updateFrame(new ManageExerciseInfoUI(
						ExerciseManagerUI.this.presenter.getSelectedExercise())
						.getManageExerciseInfoUI(), "Manage Exercise Info");
			}

			else if (e.getSource() == ExerciseManagerUI.this.btnHelp) {
				JOptionPane.showMessageDialog(null,
						HelpPresenter.getExerciseManagerHelp(),
						HelpPresenter.getExerciseManagerTitle(),
						JOptionPane.PLAIN_MESSAGE, HelpPresenter.getHelpIcon());
			}

			else if (e.getSource() == ExerciseManagerUI.this.btnFilter) {
				String column = ExerciseManagerUI.this.filterBox
						.getSelectedItem().toString();
				String by = ExerciseManagerUI.this.txtFilter.getText();

				ExerciseManagerUI.this.presenter.filter(column, by);
			}

			else if (e.getSource() == ExerciseManagerUI.this.btnDuplicateExercise) {
				ExerciseManagerUI.this.presenter.duplicate();
			}
		}