Cleanup app delegate