I believe that to reboot your phone, it would have to be rooted.
And what about rebooting at a time when you know it's never going to bother you, like for example 3am?
Otherwise, you can use a scene. In your task, add a Menu action, available in the Alert section.
The layout would be 'IconAndTextMenu'.
Then you can add items with an icon, text and the corresponding task to perform.
You could have a Confirm button to launch a separate task which would do the reboot and a Cancel button or rely on dismissing the pop up by clicking outside of it or on Back.