I am sure there are many questions similar to this problem. However, I could not find a solution to the problem I am in. The problem is that popBackStack funtion removes the