Dropped the update interval of the widget to 10 minutes, since I found that my display listener would mysteriously get dropped after a while. This created a bug where the widget would not update, even if the screen was shared.
Merge branch 'master' of https://github.com/mattgmg1990/miracast-widget