How to check if GUI Button Clicked inside Plugin?

My Goal?

So Basically, when the user opens my Plugin and clicks a button I want that button’s background color to change.

*Here’s my code for the Plugin open/close. :point_down:

local toolbar = plugin:CreateToolbar("TestLocal")
local functionScriptButton = toolbar:CreateButton("Text1", "Text2", "rbxassetid://5428265778")
local plugin1 = game.CoreGui:FindFirstChild("Q&A Plugin")

functionScriptButton.Click:Connect(function()
	if script:FindFirstChild("Q&A Plugin") then
		script["Q&A Plugin"].Parent = game:WaitForChild("CoreGui")
	else
		game.CoreGui:WaitForChild("Q&A Plugin").Parent = script
	end
end)

plugin1.Deactivation(game.CoreGui["Q&A Plugin"]:Destroy())

*Here’s my Code for detecting if users click on the button. :point_down:

local plugin1 = game.CoreGui:FindFirstChild("Q&A Plugin")
local Celebrity = game.CoreGui["Q&A Plugin"].ScrollingFrame.Catergories["(A) Celebrity Button"]

plugin1.Active = true
Celebrity.MouseButton1Click:Connect(function()
	Celebrity.BackgroundColor = Color3.fromHex("0391EC")
end)

I’m fairly new to making Plugins & There are not many great resources based on GUI Plugin Development…