         callback: (item, previous_state) => 
           if previous_state == 'custom'
             if user_has_set_a_view()
-              @local.minimized = !@local.minimized
-              save @local
+              local_state.minimized = !local_state.minimized
+              save local_state
             else 
-              reset_to_all()
+              reset_to_all(local_state)
 
           else 
-            @local.minimized = false
-            clear_all()
+            local_state.minimized = false
+            clear_all(local_state)
       }
     ]
 
     reset_to_default_view = (force_all) ->
-      clear_all()
+      clear_all(local_state)
 
       dfault = customization('opinion_views_default')
 

  }

  .minimized_view {
    color: #1059a2;
    /* border: 1px solid #2478cc; */
    background-color: #e4edf7;
    width: fit-content;
    position: relative;
    display: inline-block;

                    height: 0 
                    borderLeft: '12px solid transparent'
                    borderRight: '12px solid transparent'                    
                    borderTop: "7px solid #{focus_blue}"
            else 
              DIV 
                className: 'custom_view_triangle'
                style: 
                  left: triangle_left
                  bottom: if browser.is_mobile then -29 else -27
                dangerouslySetInnerHTML: __html: """<svg width="25px" height="13px" viewBox="0 0 25 13"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Artboard" transform="translate(-1086.000000, -586.000000)" fill="#FFFFFF" stroke="rgb(182,182,182)"><polyline id="Path" points="1087 599 1098.5 586 1110 599"></polyline></g></g></svg>"""


          SPAN 
