change button functionality and updatet ICopilot