Put TTL settings before verbose setting in webui

(cherry picked from commit 1308d4dd923ac4c9f3f8d76a015fb58956f37e0f)