revert appdelegate