Fix #1207: Remember previous choice in class creation dialog