added history.setchange() into files and actions function