handle warnings and save mobile in usersetting