sendUserActionEvent() returned
You can try deleting the code and writing it again. May be Cut, close project, open project and paste that section back.
This is more likely the issue with the device rather than the app. Your app is fine. Similar issue was raised before: sendUserActionEvent() is null
Thanks.