Modify string for online and offline activity