restore the saved selected range whenever opening a file