Fix storing the currently selected layout algorithm (cytoscapejs.html)