Remember active

With this fix the editor remembers the active file