SetActiveButtonStates method