added options to show & hide the buttons