Changes made in developer options revert back to default after turning off developer options
In order to keep developer options running, simply don't turn developer options off. That's the only possible logical way.