Changed saving avatar