Implement EventListener for the detail button