To see or apply shaving cream in your dream represents the character and personality your portray to others in your waking life. It’s possible that you are trying to change your image to appear more like the person you believe yourself to be inside.
[1]