only one active button

Hi! Script that makes sure that button who has this script attached to it can be highlighted if pressed and resized on mouse over, BUT problem is that several buttons can be highlighted at once, but i only need one active button of them all (if there is an active button already and user sets new active button, then the old one gets inactive). I have no clue how to make that there can be only 1 active (highlighted) button at a time.

I hope for Your solutions to this problem soon!

PS. This is the script that is attached to every button that makes them highlighted.

var normalColor : Color;
var overColor : Color;
var selectedColor : Color;
var selectedOverColor : Color;
var size : int
var overSize : int
private var selected : boolean = false;
function Start () {
    guiTexture.color = normalColor;
    guiTexture.pixelInset.width = size;
    guiTexture.pixelInset.height = size;
    selected = false;
}
function OnMouseEnter () {
    if(selected){
        guiTexture.color = selectedOverColor;
    }
    else if(!selected){
        guiTexture.color = overColor;
    }
    guiTexture.pixelInset.width = overSize;
    guiTexture.pixelInset.height = overSize;
}
function OnMouseExit () {
    if (!selected) {
        guiTexture.color = normalColor;     
    }

    else if (selected) {
        guiTexture.color = selectedColor;
    }
    guiTexture.pixelInset.width = size;
    guiTexture.pixelInset.height = size;
}

Script by Joshua

Problem solved with singleton.