Added the checkoutApplication method when the pending app is opened