adding event listener for guide button