Add event listener to settings gear