renamed variable
added localytics app ID as argument