Offline app bug fixed