CleanCode: switch to code view after reformatting (not sure how to refresh book view).