add background effect while clicking on the buttons