Adds mixpanel states. Fixes null state