reverted app delegate