Remember and retreive last filter setting based off section key.

Added two functions to library.js: setFilter and getFilter.