To switch the technology you're researching, click the Technology Advisor in the top-right corner of the screen, then select the tech you'd like to pursue instead. It's a quick way to redirect your civilization's research priorities on the fly.