[Application] fixes deleting of applications