Updated position of Undo and Redo buttons on page, since they are now
optional;
Created parameters to fix bug when updating an edge’s position on
learning mode;