Set active command before checking permissions for proper saving after reauth