realize menu method for open, open recent, new project