Issue with button functionality working in preview mode but not in deployed mode - Windmill