After a tumultuous few months, Masters champion Rory McIlroy says he is trying to take his mind off golf more regularly as he prepares to play the Scottish Open.