Adding local task to menu hook