Fixed admin menu event handler.

Signed-off-by: crynobone <crynobone@gmail.com>