When uploading a new avatar, it seems that once the upload is complete, the image is automatically set as the avatar, before hitting 'Okay.' Even if I hit 'Cancel' after the upload, my avatar remains the newly uploaded image.
The correct behavior seems like it should wait for the 'Okay' button to be clicked to actually set, and if 'Cancel' is clicked, keep the current avatar.
Also, the checkbox to delete an avatar seems very unintuitive. A checkbox usually relates to enabling a setting, whereas removing an avatar is taking an action. Perhaps add a third radio option (remove my avatar/no avatar), or a button (delete avatar).