Fixed the bug where the front screen activity would stop.