Made Preferences button on launchers work