Removed offlinesApp global variable