fix the bug: when pressing <F5> in the preamble, inserting environment instead of '\usepackage'