Factory reset will not restore the root partition i.e. files that you added or removed, so be very careful. Always revert your systemd services to make sure that third-party launchers are disabled and xochtil is enabled before performing a factory reset through the UI. If you use Toltec, you should uninstall it and all its packages by running toltecctl uninstall
instead.
The only use of a factory reset is to remove the config and all the documents from the device if you want to give it to someone else.