Need to Add button on Back/Flash firmware page under system tab

Don’t reinvent the wheel here.
There’s already a package called Advanced Reboot which will get you most of the way. Just need to add support for your device.