Fixing persisting of sms confirmation code