handle offline msgs after app register