Added a click event to right-menu button