Apple shares were up 4.3% on Tuesday after a US federal judge spared its search engine deal with Google in a judgement. The judge ruled that Google was allowed to enter into deals with companies like Apple that make its search engine the default option in browsers.