Fixed bug in autoCode function

Fixed a bug in autoCode function that corrects pasted values and page
re-load
Added support for "shift" + "insert" paste key combination