Fixes history after renaming active files

Situation: 
- Two or more open files
- Switch several times between different files to  create a history
- Rename active file
- Switch to another open file
- Causes error (prevSession is undefined) on [active.highlightEntry](https://github.com/Codiad/Codiad/blob/master/components/active/init.js#L427-L429)