Add custom element for main view