I have just changed phones and used titanium backup to restore automagic to the new phone. It´s the same phone model (both Galaxy S4), so I didn´t expect any major problems. I started automagic and was told that because of a security measure all flows had been disabled. After activating all flows and giving automagic all its necessary permissions, all my flows were working again

I thought I was sorted now, until I tried to use a widget. The overlay opened just fine, but when I clicked on any of the buttons nothing happened. I tried another widget - same problem. So I checked the widgets in the editor and saw that all the clickable action fields are empty - in all the widgets.
As I have a backup of the widget xml file on my computer, I copied that into the automagic folder on my phone and replaced the existing one. I then opened automagic and the clickable actions were all gone again. I opened the xml file and compared it to the original file - the file had been changed and all clickable action entries were empty.
So I copied the file again, opened it on my phone (before opening automagic)- all clickable action entries were there. I opened automagic, then opened the xml file again - all clickable actions entries were gone.
Assigning a new clickable action to an existing widget does work and that new entry does not get deleted.
Any idea what´s causing this?