Fix:exception in detaisactivity when no network.