Corrected action hook

Corrected the synax of the function referenced by the action hook to
correctly identify the function within the current class.