New menu bar template and fixed reference in delegate