Memoize was causing a bug when changing profile images.