delete ApplicationDelegate