Refactoring tbl_change.php

extracted methods from tbl_change.php to insert_edit.lib.php