The type can be saved in a variable when entering `UpdateApnList`, then we can remove this function.