In onloop you can maybe try something like
if (!didSetAttackOptions) {
//settings.setSetting(blahblah)
didSetAttackOptions = true;
}
Just be careful try not to put everything in onStart, and always account for the worst case scenario e.g. dialogue is open, which doesn’t let you open settings tab. I personally try getWidgets().closeOpenInterface(); before even touching settings, and in some cases I walk to my current tile just to cancel anything including selected items etc. Maybe am just paranoid