Extract element insertion from function
Extract element insertion from function

The goal is to simplify the function and avoid fetching the key-map-list
elemnt everytime.
Better name for the function used, too.

doreminiature/miniature,doreminiature/miniature,matheus208/min,matheus208/min,minbrowser/min,minbrowser/min,minbrowser/min