Giving all the buttons an active state.