First of all, the if statements you have in your code are comparing a static
String to a constant String. Neither of these values ever change, so they will always evaluate to the same thing.
Try overriding the following methods that get called when the approve or cancel buttons get pressed from the UI, respectively.
public void approveSelection()
public void cancelSelection()
No need to add listeners, just do what you want in these methods.
Bill