Fix back button loop processing and Remove useless classes