Select the active button on click