Move new file action from canvasview init_menus to app.cpp actin definiation
Simplify code