Refactoring the settings button code to a new module, settings-menu.