Trying MM.loadSite(MM.config.current_site.id); to refresh picture profile.

Suggested by Juan Leyva at https://moodle.org/mod/forum/discuss.php?d=261757#p1134718