Added function to display a key for buttons