added selection to show selected buttons