Upon launching app, xintent throws a toast warning saying "Failed to connect to localhost....."
Also any action causes the app to crash, although if the action was toggling one of the monitor settings, the new setting is shown when the app is opened again.
Refer to attached screenshots

When I toggle "Monitor startActivity" from On to Off, the app crashes. When I restart the app notice that "Monitor startActivity" is now Off, as expected.

What causes the crash? Is monitor startActivity truly disabled/enabled after the crash? What's the significance of the connection failure toast warning message?
Upon launching app, xintent throws a toast warning saying "Failed to connect to localhost....."
Also any action causes the app to crash, although if the action was toggling one of the monitor settings, the new setting is shown when the app is opened again.
Refer to attached screenshots

When I toggle "Monitor startActivity" from On to Off, the app crashes. When I restart the app notice that "Monitor startActivity" is now Off, as expected.

What causes the crash? Is monitor startActivity truly disabled/enabled after the crash? What's the significance of the connection failure toast warning message?