checkout appdelegate