Added reply button handler