android: handle activity going away