click buttons for details