Fix bug with avatar dialog selection after unsuccessful updating group settings

What does this MR do?

Allow user to select avatar when group settings update failed

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

User could not select avatar file if errors occurs

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports