Added principal screen activity lifecycle events logging.