GridColumnVisibility v.2.7.4

I have used the grid column visibility option in one of my list screen I can control show/hide columns but it is not persisted for the user. I have checked this post but it seems that was for column added programmatically but my datagrid columns are from Entity attributes. It’s not persisted even I add key to the column.

<hbox id="buttonsPanel" classNames="buttons-panel">
           <button id="emplProfileBtn" action="employeeProfilesTable.emplProfile"/>
           <simplePagination id="pagination" dataLoader="employeeProfilesDl" itemsPerPageVisible="true"/>
           <gridColumnVisibility dataGrid="employeeProfilesTable"
                                 icon="COG"
                                 themeNames="icon"
                                 exclude="duration">
           </gridColumnVisibility>
       </hbox>
       <dataGrid id="employeeProfilesTable"

  </actions>
           <columns resizable="true">
<column property="birthDate" filterable="true" autoWidth="true"/>
               <column property="nationalId" filterable="true" autoWidth="true" key="nationalId"/>
               <column property="manager" autoWidth="true" filterable="true"/>