add logic for display info for all buttons