However, in the future, click the 'Settings' in the top right, right next to 'My Profile' and 'Log Out'. Then on the left side, under 'My Settings', you will see 'Edit Avatar', just click that.
If you're having other, specific, issues with editing your avatar, please specify what they may be.