adding the buttons to show group and fixing them