Refactor MAC address debouncing logic and add local settings configuration See merge request fronk/thetool!1913