Refactored activity signal to hook method