Added menu and preferences