add menu events
module fix
graph.restart() method is now called on click on clear button