Fix dark mode bug where toggling the browser pref would apply the scheme independently of app preference