Alexander was in goal as Rangers clinched the Scottish Premier League title and the Scottish Cup while McGregor 's Ibrox future was in doubt following the " boozegate " affair that ended his international career .