Keep track of the mode name for reinitialization purposes