Working avatar uploading until refresh