Changed the script to write quality change action to browser storage. This should'nt change how the script change settings, but should hopefully allow YouTube to periodically re-check quality preference when playing a very long video, or if the video tab has been left open for extended periods of time.