Fixed setting avatar from gallery